﻿#include "NetworkInfo.h"

NetworkInfo::NetworkInfo(QObject *parent)
    : QBaseEntity(parent)
{
}

QString NetworkInfo::getName() const
{
    return name;
}

void NetworkInfo::setName(const QString &value)
{
    name = value;
}

QString NetworkInfo::getDescription() const
{
    return description;
}

void NetworkInfo::setDescription(const QString &value)
{
    description = value;
}

quint32 NetworkInfo::getIndex() const
{
    return index;
}

void NetworkInfo::setIndex(quint32 value)
{
    index = value;
}

quint32 NetworkInfo::getType() const
{
    return type;
}

void NetworkInfo::setType(quint32 value)
{
    type = value;
}

quint64 NetworkInfo::getMtu() const
{
    return mtu;
}

void NetworkInfo::setMtu(quint64 value)
{
    mtu = value;
}

QString NetworkInfo::getMacAddress() const
{
    return macAddress;
}

void NetworkInfo::setMacAddress(const QString &value)
{
    macAddress = value;
}

quint64 NetworkInfo::getSpeed() const
{
    return speed;
}

void NetworkInfo::setSpeed(quint64 value)
{
    speed = value;
}

bool NetworkInfo::isAdminUp() const
{
    return m_adminUp;
}

void NetworkInfo::setAdminUp(bool value)
{
    m_adminUp = value;
}

QString NetworkInfo::getOperationalStatus() const
{
    return operationalStatus;
}

void NetworkInfo::setOperationalStatus(const QString &value)
{
    operationalStatus = value;
}
